<template>
  <div>
    son2
    <button @click="change">changeName</button>

     
  </div>
</template>
<script>
import { CHANGE_NAME } from "../../store/mutation-types"
export default {
  methods: {
    change() {
      this.$store.commit(`${CHANGE_NAME}`,798)
      // this.$store.commit("CHANGE_NAME",798)
    }
  },
}
</script>